package com.alter.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alter.service.DiamInfoService;

@RestController
public class IndexController {
	@Autowired
	private DiamInfoService diamInfoService;
	
	@RequestMapping("/index")
	public String index(){
		System.out.println("22222222222222");
		diamInfoService.createDiamInfo();
		return "add success";
	}
}
